import { defineVirtualModule } from './_utils'

export default defineVirtualModule(
  'wasm-virutal:env',
`
  /*#__PURE__*/ const isNode = typeof process === "object" && typeof process.versions === "object" && typeof process.versions.node === "string";
  /*#__PURE__*/ const isBroswer = typeof window === "object";
  /*#__PURE__*/ const isWorker = typeof importScripts === "function";
`,
  ['isNode', 'isBroswer', 'isWorker']
)
